import {ModuleWithProviders} from "@angular/core"
import {Routes, RouterModule} from '@angular/router';


export const routes: Routes = [
  {
    path: 'experimental-data', 
    loadChildren:'app/+data-management/+experimental-data/experimental-data.module#ExperimentalDataModule'
  },
  {
    path: 'param-file',
    loadChildren:'app/+data-management/+param-file/param-file.module#ParamFileModule',
  },
  {
    path: 'param-file/param-file-page',
    loadChildren:'app/+data-management/+param-file-page/param-file-page.module#ParamFilePageModule',
  },
  {
    path: 'weight-data',
    loadChildren:'app/+data-management/+weight-data/weight-data.module#WeightDataModule',
  },
   {
    path: 'load-data',
    loadChildren:'app/+data-management/+load-data/load-data.module#LoadDataModule',
  },
  {
    path: 'langyun-data',
    loadChildren:'app/+data-management/+langyun-data/langyun-data.module#LangyunDataModule',
  },
  {
    path: 'statistical-download',
    loadChildren:'app/+data-management/+statistical-download/statistical-download.module#StatisticalDownloadModule',
  },
  {
    path: 'huaxin-weighbridge',
    loadChildren:'app/+data-management/+huaxin-weighbridge/huaxin-weighbridge.module#HuaxinWeighbridgeModule',
  }
];

export const routing = RouterModule.forChild(routes);
